home *** CD-ROM | disk | FTP | other *** search
/ Network Supervisor's Toolkit / Network Supervisor's Toolkit.iso / novell / fyi8 / 080123.dos < prev    next >
Text File  |  1996-07-10  |  2KB  |  48 lines

  1. Subject:      Customizing Remote Reset
  2. Date:         August 5, 1990
  3. - - - - - - - - - - - - - - - - - - - - -
  4.      
  5. PROBLEM:      While v2.1 remote reset is far from perfect, and while the
  6.               documentation is totally inadequate, there are workarounds
  7.               that provide the flexibility it appears to be missing at
  8.               first glance.
  9.  
  10.               Here is the story.  First of all, an AUTOEXEC.BAT file must
  11.               be placed in sys:login.  This is not documented.  All
  12.               statements after "NET3" will be executed from the
  13.               AUTOEXEC.BAT file in sys:login instead of from the
  14.               AUTOEXEC.BAT in the remote reset file.  Since there can be 
  15.               only one AUTOEXEC.BAT file in sys:login, all remote reset
  16.               files will wind up executing the "one and only" AUTOEXEC.BAT.
  17.  
  18.               If the AUTOEXEC.BAT files used to construct the remote reset
  19.               files are of differrent lengths, there will be trouble.  If
  20.               you want different remote reset files to execute different 
  21.               commands following NET3, you must get clever.
  22.  
  23. SOLUTION:     Here is a useful solution until Novell finds a proper
  24.               solution and implements it in some future version.
  25.  
  26.               1. Use the DOS "SET" command to implement a switch in the
  27.               AUTOEXEC.BAT file used by "DOSGEN" to construct the remote
  28.               reset file.  The switch must be set prior to executing NET3.
  29.  
  30.               2. Set the switch to different values in the AUTOEXEC.BAT
  31.               files used to generate the required remote reset files, each
  32.               having a different name.  The key to this whole thing is that
  33.               the values assigned to the switch variable MUST all be the
  34.               same length for this to work.
  35.  
  36.               3. Setup BOOTCONF.SYS appropriately for workstations needing
  37.               than the default remote reset file.
  38.  
  39.               4. Create an AUTOEXEC.BAT file in sys:login that checks the
  40.               value of the switch (using DOS "if" statement) and does one
  41.               thing or another depending on its value.
  42.  
  43.               This technique will allow me to download different types of
  44.               gateway software and print server software (e.g., Brightworks
  45.               PS-Print) to diskless workstations without manual
  46.               intervention.
  47.      
  48.